﻿<%@ Page Title="Log On" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Steve.UI.Models.LogOnModel>" %>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <% using(Html.BeginForm()) { %>
    <%: Html.ValidationSummary(string.Empty, new { @class="ui-widget ui-state-error ui-corner-all" })%>

    <fieldset>
        <div>
        <%: Html.LabelFor(m => m.UserName) %>
        <%: Html.EditorFor(m => m.UserName) %>
        </div><div>
        <%: Html.LabelFor(m => m.Password) %>
        <%: Html.EditorFor(m => m.Password)%>
        </div>
    </fieldset>

    <%: Html.HiddenFor(m => m.ReturnUrl) %>

    <input type="submit" value="Log On" />
    <% } %>
</asp:Content>